package Day;
public class Main {
    public static void main(String[] args) {
    Date date = new Date(2004,12,31);
    date.yesterday();
    date.tomorrow();
    date.daysInYear();
    System.out.println("============");
    Date date2 = new Date();
    date2.setYear(1999);
    date2.setMonth(3);
    date2.setDay(1);
    date2.tomorrow();
    date2.yesterday();
    date2.daysInYear();
    System.out.println("===============");
    Date dateCpy3 = new Date(2012,1,1);
    Date date3 = new Date(dateCpy3);
    date3.tomorrow();
    date3.yesterday();
    date3.daysInYear();
    }
}
